package com.binary.coder.gift.core.interfaces.Invitation.dto.req;

import com.binary.coder.gift.core.infrastructure.po.invitation.DesignElement;
import com.binary.coder.gift.core.infrastructure.po.invitation.InvitationCard;
import com.binary.coder.gift.core.infrastructure.po.invitation.InvitationPermission;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.stream.Collectors;

/**
 * @author atao
 * @version 1.0.0
 * @ClassName InvitationCardAggreate.java
 * @Description 请柬聚合
 * @createTime 2024年06月21日 16:41:00
 */
@Data
@ApiModel("保存请帖卡片的请求实体")
public class SaveInvitationCardReq {

    @ApiModelProperty(value = "请帖ID", example = "12345", required = false)
    private Long id;

    @ApiModelProperty(value = "请帖标题", example = "生日派对邀请", required = true)
    private String title;

    @ApiModelProperty(value = "创建人ID", example = "67890", required = true)
    private Long userId;

    @ApiModelProperty(value = "请帖类型", example = "birthday", required = true)
    private String invitationType;

    @ApiModelProperty(value = "设计元素列表", required = true)
    private List<SaveDesignElementReq> designElementReqList;
}
